package soul.mapper;


import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.Map;

/**
 * Created by sunzhengjie on 2016/9/21.
 */
@Mapper
public interface HealthDao {

    @Select("SELECT 1")
    int dataBaseHealth();

    @Select("select hq_merchant_id,reference_code from tbl_store where store_name =#{storeName}")
    Map<String,Object> select(@Param("storeName")String storeName);
}
